<?php
namespace BP\En;
require_once("java/util/ArrayList.php");
require_once("java/util/List.php");
class EntitiesNoName extends EntitiesNo {
	protected static $serialVersionUID;	// long
	public static function __staticinit() { // static class members
		self::$serialVersionUID = 1;
	}
	public static function convertEntityNoName ($obj) // [Object obj]
	{
		return $obj;
	}
	public function ToJavaListEnNo () 
	{
		return $this;
	}
	public function AddEntity ($entity) // [EntityNoName entity]
	{
		foreach (EntitiesNoName::convertEntityNoName($this) as $en) 		{
			if ($en->getNo()->equals($entity->getNo()))
			{
				return ;
			}
		}
		$this->add($entity);
	}
	public function Insert ($index, $entity) // [int index, EntityNoName entity]
	{
		foreach (EntitiesNoName::convertEntityNoName($this) as $en) 		{
			if ($en->getNo()->equals($entity->getNo()))
			{
				return ;
			}
		}
		$this->add($index, $entity);
	}
	public function getItem ($index) // [int index]
	{
		return (( (($this->get($index) instanceof EntityNoName)) ? $this->get($index) : NULL ));
	}
	public static function constructor__ () 
	{
		$me = new self();
		return $me;
	}
	public function RetrieveByLikeName ($likeName) // [String likeName]
	{
		$qo = QueryObject::constructor__($this);
		$qo->AddWhere_String_String_String("Name", "like", ((" %" . $likeName) . "% "));
		return $qo->DoQuery();
	}
	public function RetrieveAll () 
	{
		return parent->RetrieveAll("No");
	}
}
EntitiesNoName::__staticinit(); // initialize static vars for this class on load
?>
